package com.mine.modules.sys.domain.dto;

import com.mine.common.constant.CommonConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "用户管理")
public class UserDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private String id;

    @ApiModelProperty(value = "登录账号", required = true)
    private String username;

    @ApiModelProperty(value = "真实姓名", required = true)
    private String realname;

    @ApiModelProperty(value = "密码", required = false)
    private String password;

    @ApiModelProperty(value = "部门编码")
    private String orgCode;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "用户状态，0-正常1-冻结")
    private Integer status = CommonConstant.STATUS_FREEZE;

}
